package cn.kgc.ssm.mapper;

import cn.kgc.ssm.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 课工场
 * @date 2023/10/19
 * @description
 */
public interface UserMapper {

    List<User> getList(@Param("username") String username,@Param("city") String city);

    void registerUser(User user);

    User selectUserByName(String username);

    void editInfo(User user);

    void changePwd(@Param("pwd") String pwd, @Param("id") Integer id);

    void addUser(User user);


    void batchDelete(@Param("ids") Integer[] ids);

}
